home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / edectl / edgectl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-16  |  2.0 KB  |  66 lines

  1. #if !defined(AFX_EDGECTL_H__7E220B26_FE0B_11D0_9F5E_B42103C10710__INCLUDED_)
  2. #define AFX_EDGECTL_H__7E220B26_FE0B_11D0_9F5E_B42103C10710__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  8.  
  9. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  10. //  Microsoft Visual C++, your modifications will be overwritten.
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CEdgeCtl wrapper class
  14.  
  15. class CEdgeCtl : public CWnd
  16. {
  17. protected:
  18.     DECLARE_DYNCREATE(CEdgeCtl)
  19. public:
  20.     CLSID const& GetClsid()
  21.     {
  22.         static CLSID const clsid
  23.             = { 0x597f0d06, 0xfe03, 0x11d0, { 0x9f, 0x5e, 0xb4, 0x21, 0x3, 0xc1, 0x7, 0x10 } };
  24.         return clsid;
  25.     }
  26.     virtual BOOL Create(LPCTSTR lpszClassName,
  27.         LPCTSTR lpszWindowName, DWORD dwStyle,
  28.         const RECT& rect,
  29.         CWnd* pParentWnd, UINT nID,
  30.         CCreateContext* pContext = NULL)
  31.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  32.  
  33.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  34.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  35.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  36.         BSTR bstrLicKey = NULL)
  37.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  38.         pPersist, bStorage, bstrLicKey); }
  39.  
  40. // Attributes
  41. public:
  42.     OLE_COLOR GetBackColor();
  43.     void SetBackColor(OLE_COLOR);
  44.     BOOL GetEdgeBottom();
  45.     void SetEdgeBottom(BOOL);
  46.     BOOL GetEdgeLeft();
  47.     void SetEdgeLeft(BOOL);
  48.     BOOL GetEdgeRight();
  49.     void SetEdgeRight(BOOL);
  50.     BOOL GetEdgeTop();
  51.     void SetEdgeTop(BOOL);
  52.     long GetEdgeStyle();
  53.     void SetEdgeStyle(long);
  54.     short Get_EdgeStyle();
  55.     void Set_EdgeStyle(short);
  56.  
  57. // Operations
  58. public:
  59.     void AboutBox();
  60. };
  61.  
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  64.  
  65. #endif // !defined(AFX_EDGECTL_H__7E220B26_FE0B_11D0_9F5E_B42103C10710__INCLUDED_)
  66.